Release 10.1A: OpenEdge Data Management:
SQL Reference


MIN

Returns the minimum value in a group of values.

Syntax

MIN ( { [ ALL ] expression } | { DISTINCT column_ref } ) 

Example

This example illustrates the MIN function:

SELECT MIN (salary)
     FROM employee
     WHERE deptno = 20 ; 

Notes


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095